$(function () {
    vm.getVideos();
});

var vm = new Vue({
    el: '#rrapp',
    data: {
        videoList: {}
    },

    methods: {
        getVideos: function () {
            $.get(baseURL + "ede/video/getVideos", function (r) {
                vm.videoList = r.videoList;
            });
        },
        toPlay: function (videoLink) {
            document.getElementById("video").src = videoLink;
        }

    }
});